package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceAchievement struct {
	Id              int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	AchievementType int64          `json:"achievementType" gorm:"column:achievement_type;type:bigint;not null;comment:成就类型"`
	AchievementNo   int64          `json:"achievementNo" gorm:"column:achievement_no;type:bigint;not null;comment:成就编号"`
	Conditions      int64          `json:"conditions" gorm:"column:conditions;type:bigint;not null;comment:达成条件"`
	Remarks         string         `json:"remarks" gorm:"column:remarks;type:varchar(256);not null;default:'';comment:备注"`
	Icon            string         `json:"icon" gorm:"column:icon;type:varchar(256);not null;default:'';comment:备注"`
	Badge           string         `json:"badge" gorm:"column:badge;type:varchar(256);not null;default:'';comment:徽章"`
	CreatedAt       time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt       time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt       gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
